home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer Power Tools
/
Programmer Power Tools.iso
/
tex
/
dvivga9.arc
/
GETBYTES.H
< prev
next >
Wrap
Text File
|
1988-05-30
|
504b
|
19 lines
/* -*-C-*- getbytes.h */
/*-->getbytes*/
/**********************************************************************/
/****************************** getbytes ******************************/
/**********************************************************************/
void
getbytes(fp, cp, n) /* get n bytes from file fp */
register FILE *fp; /* file pointer */
register char *cp; /* character pointer */
register BYTE n; /* number of bytes */
{
while (n--)
*cp++ = (char)getc(fp);
}